package com.zhongkun.datahome.core.service;

import com.zhongkun.datahome.common.core.domain.entity.Tenant;
import com.zhongkun.datahome.common.core.domain.entity.TenantUser;
import com.zhongkun.datahome.core.req.cmd.user.TenantUserCmd;

import java.util.List;

/**
 * 商户用户Service接口
 * 
 * @author ruoyi
 * @date 2025-04-14
 */
public interface ITenantUserService {
    /**
     * 查询商户用户
     *
     * @param id 商户用户主键
     * @return 商户用户
     */
    List<TenantUser> selectTenantUserByUserId(Long id);

    List<Tenant> queryTenantList(Long userId);

    TenantUser getTenantUser(Long tenantId, Long userId);

    int updateUserStatus(TenantUserCmd user);
}